package com.jinbm.accountservice.entity.po;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.v3.oas.annotations.media.Schema;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;

/**
 * 角色 实体类。
 *
 * @author jinbm
 * @data 2024/4/8
 * @time 9:47
 * @since JDK1.8
 * @version 0.0.1-SNAPSHOT
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "角色")
@Table(value = "sys_role")
public class RolePo {

    @Schema(description = "")
    @Id(keyType = KeyType.Auto)
    private Long roleId;

    /**
     * 角色名称
     */
    @Schema(description = "角色名称")
    @Column(value = "role_name")
    private String roleName;

    /**
     * 备注
     */
    @Schema(description = "备注")
    @Column(value = "remark")
    private String remark;

    /**
     * 部门ID
     */
    @Schema(description = "部门ID")
    @Column(value = "dept_id")
    private Long deptId;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    @Column(value = "create_time")
    private java.util.Date createTime;


}
